package com.sven;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

public interface OrderChannel {
    String OUTPUT = "orderOutput";
    String INPUT = "orderInput";

    @Output(OrderChannel.OUTPUT)
    MessageChannel output();


    @Input(OrderChannel.INPUT)
    SubscribableChannel input();
}
